package start.test.ec;

//进口商品
public class Importer extends Commodity{

    private Commodity commodity;

    public Importer(Commodity commodity) {
        super(commodity.getValue());
        this.commodity = commodity;
    }

    @Override
    public double taxes() {
        return commodity.taxes()+ commodity.getValue()*0.09;
    }
}
